/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.GaTau_DAO;
import DTO.GaTau_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class GaTau_BUS {
    
    public static String Get_MaGT() throws SQLException{
        return GaTau_DAO.Get_MaGT();
    }
    public static ArrayList<GaTau_DTO> GetALL(){
        return GaTau_DAO.GetALL();
    }
    public static boolean Insert(GaTau_DTO GaTau){
        return GaTau_DAO.Insert(GaTau);
    }
    public static boolean Update(GaTau_DTO GaTau){
        return GaTau_DAO.Update(GaTau);
    }
    public static boolean Delete(String MaGD){
        return GaTau_DAO.Delete(MaGD);
    }
    
}
